package com.bootdo.system.dao;

import com.bootdo.system.domain.ContentDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 所有内容表
 * @author cwftalus
 * @email cwftalus@163.com
 * @date 2020-06-11 12:28:31
 */
@Mapper
public interface ContentDao {

	ContentDO get(Integer id);
	
	List<ContentDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(ContentDO content);
	
	int update(ContentDO content);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

    ContentDO getContent(Long menuId);
}
